package com.neepu.service;


import com.neepu.pojo.User;

import java.util.List;


public interface UserService {

    User login(String loginname, String password,Integer role);

    User toFindPassword(String loginname, String email,Integer role);

    void updatePassword(User user);

    User finUserById(String id);

    List<User> finUserByRole();

    List<User> finUserByContent(String content);
}
